<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,shrink-to-fit=no">
    <title>用户注册界面</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/signin.css" rel="stylesheet">

    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/bootstrap.min.js"></script>
    <script type="text/javascript" src="js/signup.js"></script>

</head>
<body class="text-center">
<!--  用户登录form表单 -->
<div class="form-signin">
    <img class="img-thumbnail" src="img/login.jpg" width="72" height="72">
    <h1 class="h3 mb-3 font-weight-normal">请注册</h1>
    <span>邮箱</span><input type="text" id="username" class="form-control" placeholder="邮箱" required="" autofocus="">
    <span>密码</span><input type="text" id="password" class="form-control" placeholder="密码" required="">
    <span>确认密码</span> <input type="text" id="repassword" class="form-control" placeholder="确认密码" required="">
    <span>验证码<input type="text" class="form-control" id="code" placeholder="验证码" required=""></span>
    <div class="checkbox mb-3">
        <label>
            <button id="fat-btn" class="btn btn-primary" data-loading-text="Loading..."
                    onclick="getCaptcha()"> 验证码
            </button>
        </label>
    </div>
    <button class="btn btn-lg btn-primary btn-block" onclick="register()">注册</button>

    <!--<input type="password" class="form-control" placeholder="password" required="">-->
    <p class="mt-5 mb-3 text-muted">© <span>2019</span>-<span>2020</span></p>
    <!--<a class="btn btn-sm" th:href="@{/toLoginPage(l='zh_CN')}">中文</a>-->
    <!--<a class="btn btn-sm" th:href="@{/toLoginPage(l='en_US')}">English</a>-->

</div>
</body>
</html>